package com.car.postoffice;

public interface ITransferWorker {
	/**
	 * 处理邮件请求
	 * @param mark[in] 邮戳
	 * @param mail[in] 具体的邮件
	 * @param level[in] 处理的优先级
	 * @throws SendException 发送失败
	 */
	public void HandleMail(final TPostMark mark,
						   final CMail mail,
						   int level)throws SendException;
	/**
	 * 取消请求
	 * @param mark
	 */
	public void Cancel(final TPostMark mark);
	
	/**
	 *  取消所有请求
	 */
	public void CancelAll();
}
